-- GENERATED SPELL FOR [Exhausted Vrykul] --


function spell0_30146(pUnit, Event) --@Desperate Blow,n/a--
pUnit:FullCastSpellOnTarget(57395,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30146', 3346, 1)
end

function Sorts_30146(pUnit, Event)
local choix_sorts_30146 = math.random(0, 0)
if choix_sorts_30146 == 0 then
pUnit:RegisterEvent('spell0_30146', 1, 1)
end
end

function mob30146_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30146', math.random(1500, 3000), 1)
end

function mob30146_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30146_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30146_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30146, 1, 'mob30146_Action')
RegisterUnitEvent(30146, 2, 'mob30146_Leave')
RegisterUnitEvent(30146, 3, 'mob30146_Kill')
RegisterUnitEvent(30146, 4, 'mob30146_Die')
